package com.codingfuture.erp_system.mapper;

import com.codingfuture.erp_system.entity.Store;
import com.codingfuture.erp_system.entity.Supplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SupplierMapper {
    List<Supplier> findByAll();

    int insertSupplier(Supplier supplier);

    int deleteSupplier(Integer id);

    Supplier findById(Integer id);

    int updateSupplier(Supplier supplier);

    List<Supplier> findByAll(Supplier supplier);

    Supplier findByName(String name);
}
